<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        #test{
            width: 100%;
            height: 100vh;
            background: url("img/stainless-steel-fork-near-clear-glass-on-tray-1510690.jpg");
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-position: 50%;
            background-size: cover;
        }
    </style>
</head>
<body>
<div id="test">

</div>
<script>
    // document.onmousedown=function () {
    //       document.onmousemove=()=>{
    //              console.log(11)
    //       };
    //       document.onmouseup=()=>{
    //           document.onmousemove=null;
    //           document.onmouseup=null;
    //       }
    // }
    // console.log( document.getElementsByTagName('li')[0].innerHTML);
      function abc() {
         console.log(123)
      }
      var v= abc;
       v();
    </script>
</body>
</html>